from typing import Optional

from pydantic_settings import BaseSettings, SettingsConfigDict


class Settings(BaseSettings):
    model_config=SettingsConfigDict(env_file='.env')
    db_host : str='localhost'
    db_port : str='3306'
    db_user : str='salam'
    db_pass : str='salam'
    db_name : str='user_db'

    db_uri : Optional[str]=None

